<!--{subtemplate common/header}-->
<!--<div class="box-solugan" style="margin:10px 0px 0px 0px;">
	<img src="{IMGDIR}/solugan.gif" />
</div>-->

<div id="ct" class="wp main-thegioiao ">
	<div class="main-box-menu-p">
        <!--{subtemplate forum/menu_forum}-->
        <div id="pt" class="menu-p">
            <div class="mar-first">
                <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php" style="font-family:tahoma Regular">{$_G[setting][navs][2][navname]}</a>$navigation
            </div>
            <div class="z">
                <!--{hook/index_status_extra}-->
            </div>
        </div>
    </div><!--main-box-menu-p-->
    <!-- Kiem tra khuc vuc dat quang cao va hien thi phia duoi navigation neu co -->
    <!--{if empty($gid)}-->
        <!--{ad/text/wp a_t}-->
    <!--{/if}-->
    <!--Ket thuc quang cao tren -->
    
    <style id="diy_style" type="text/css"></style>
    
    <!--Kiem tra xem neu khong phai hien thi che do nhom thi mo vung diy1 -->
        <!--{if empty($gid)}-->
            <div class="wp">
                <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
            </div>
        <!--{/if}-->
    <!--Ket thuc phan kiem tra diy1 -->
    <!-- Ket thuc navigation  -->
    


    <!-- Layout Begin -->
    <div class="main-content">
        <!-- Main content -->
        <div class="woo-container-ao clearfix">
        
<!-- Box right -->

            <div class="box-main-content-right">
                <!-- Kiem tra va hien thi chuc nang thong bao -->
                <!--{if empty($gid) && $announcements}-->
                <div class="box-modul-marker">
                    <div id="an">
                        <dl class="cl">
                            <h2 style="color:red;">{lang announcements}:&nbsp;</h2>
                            <dd class="modul-item-right woo-thongbao">
                                <div id="anc"><ul id="ancl">$announcements</ul></div>
                            </dd>
                        </dl>
                    </div>
                </div><!--box-modul-marker-->
                <!--{/if}-->
                <!--Ket thuc kiem tra thong bao-->   
                <div class="box-banner-top">
                    	<img src='{IMGDIR}/banner25u.png' />
                </div><!--box-modul-marker-->
                <div class="box-modul-marker">
                    <h2>Thành viên mới</h2>
                    <div class="modul-item-right marker-ibox clearfix">
                    	<ul class="clearfix">
                        	<!--{loop $list_newest_member $key $list}-->
                            <li class="list-item-name"><a href='home.php?mod=space&username={$list[username]}' c="1">{avatar($list['uid'], small)}</a></li>
                            <!--{/loop}-->
                    	</ul>
                    </div>
                </div><!--box-modul-marker-->
                <!--{if $list_rich_member}-->
                <div class="box-modul-marker news-add3">
                    <h2>Thành viên ưu tú</h2>
                    <!--{loop $list_rich_member $key $list}-->
                    <div class="modul-item-right">
                        <div class="content-marker clearfix">
                            <div class="img-individuals"><a href='home.php?mod=space&username={$list[username]}' c="1">{avatar($list['uid'], small)}</a></div>
                            <div class="name-content">
                                <a href='home.php?mod=space&username={$list[username]}' c="1">{if $list['realname']}$list['realname'] {else}$list['username']{/if}</a>
                              <div class="status-author">	
                                   Điểm: {$list['credits']}
                                </div>
                            </div>
                         </div>
                    </div>
                	<!--{/loop}-->
                </div><!--box-modul-marker-->
                <!--{/if}-->
                <!--{if $list_blogs_new}-->
                <div class="box-modul-marker news-add4">
                    <h2>Blog mới</h2>
                     <!--{loop $list_blogs_new $key $list}-->
                    <div class="modul-item-right">
                        <div class="content-marker clearfix">
                            <div class="img-individuals"><a href='home.php?mod=space&username={$list[username]}' c="1">{avatar($list['uid'], small)}</a></div>
                            <div class="name-content">
                                <a href='home.php?mod=space&username={$list[username]}&do=blog&id={$list[blogid]}'>$list['subject']</a>
                                <div class="status-author nguon-tin">	
                                   	$list['dateline']
                                </div>
                            </div>
                         </div>
                    </div>
                    <!--{/loop}-->
                </div><!--box-modul-marker-->
                <!--{/if}-->
                <!--{if $list_blogs_hot}-->
                <div class="box-modul-marker news-add4">
                    <h2>Blog nổi bật</h2>
                     <!--{loop $list_blogs_hot $key $list}-->
                    <div class="modul-item-right">
                        <div class="content-marker clearfix">
                            <div class="img-individuals"><a href='home.php?mod=space&username={$list[username]}' c="1">{avatar($list['uid'], small)}</a></div>
                            <div class="name-content">
                                <a href='home.php?mod=space&username={$list[username]}&do=blog&id={$list[blogid]}'>$list['subject']</a>
                                <div class="status-author nguon-tin">	
                                   	Lượt xem: {$list['viewnum']} - Bình luận: {$list['replynum']}
                                </div>
                            </div>
                         </div>
                    </div>
                    <!--{/loop}-->
                </div><!--box-modul-marker-->
                <!--{/if}-->
                <!--{if $list_product_hot}-->
                <div class="box-modul-marker news-add2">
                    <h2>Shop sản phẩm <a href=''>Tất cả</a></h2>
                    <div class="modul-item-right marker-ibox">
                        <div class="content-marker clearfix">
                            <div class="name-content name-product">
                                <a href=''>Máy tính </a>
                                <div class="status-author nguon-tin">	
                                     <a href=''>Sản phẩm của các hãng máy tính nổi tiếng trên thế giới...</a>
                                </div>
                            </div>
                            <div class="img-individuals product-photo"><a href='' c="1"><img src='{IMGDIR}/dm9.jpg' /></a></div>
                         </div>
                    </div>

                </div><!--box-modul-marker-->
                <!--{/if}-->
            </div> <!--box-main-content-right--> 
<!-- Box right -->
        
<!--Box Left-->
            <div class="box-main-content-left">
                <!--{if !empty($_G['cache']['heats']['message'])}-->
                    <div style="display:none;">
                        <div class="bm_h cl">
                            <h2>{lang hotthreads_forum}</h2>
                        </div>
                        <div class="bm_c cl">
                            <div class="heat z">
                                <!--{loop $_G['cache']['heats']['message'] $data}-->
                                    <dl class="xld">
                                        <dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
                                        <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
                                        <dd><!--{echo cutstr($data[message], 255)}--></dd>
                                    </dl>
                                <!--{/loop}-->
                            </div>
                            <ul class="xl xl1 heatl">
                            <!--{loop $_G['cache']['heats']['subject'] $data}-->
                                <li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->&middot; <a href="forum.php?mod=viewthread&tid=$data[tid]" class="xi2">$data[subject]</a></li>
                            <!--{/loop}-->
                            </ul>
                        </div>
                    </div>
                <!--{/if}-->
                
	
 
                <!--{loop $catlist $key $cat}-->
                <div class="box-MB-content">
                    <!-- Title Level 1 -->
                    <div class="bg-box clearfix" onclick="toggle_collapse('category_$cat[fid]');">
                        <div class="box-group-head-tg-ao cl">
                            <h2 class="cl">
                            	<div {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if} style="display:none;">
                                    <!--{if $forum[icon]}-->
                                    <div style="display:none;">$forum[icon]</div>
                                    <!--{else}-->
                                    <img src="{IMGDIR}/lable-view{if $forum[folder]}-active{/if}.png" alt="$forum[name]" />
                                    <!--{/if}-->
                                </div>
                                <p><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></p>
      <span class="icon-full"><img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}"/></span>
                                
<!--onclick="toggle_collapse('category_$cat[fid]');" onclick của a Cường-->    

                                <!--{if $cat['moderators']}--><span class="z">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
                                <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
                            </h2>        
                        </div>
                    </div>    
                    <!-- End Title Level 1 -->
                    <!-- Sub forum -->
					<div id="tabs" class="cl">
	                    <div id="category_$cat[fid]" style="$collapse['category_'.$cat[fid]]" class="item-category cl">
                    	<div class="header-content cl">
                        <!--Loop header-->
                        <!--{eval $f = 0}-->
                        <!--{loop $cat[forums] $forumid}-->
                        
                        <!--{eval $forum=$forumlist[$forumid];}-->
                        <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 
                        'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
                        <div id="header_$forumid" class="list-item-group">
                            <div class="header-item-group clearfix">
                                    <h2 id="header_tab_$cat[fid]_$forumid"{if $f == 0} class="active" {else} class="unactive" {/if}>
                                        <a  onmouseover="showthis($cat[fid],$forumid)" href="$forumurl"{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]
                                        <!--{if $forum[todayposts] && !$forum['redirect']}-->
                                        <em class="xw0 xi1 x-add">(<strong>$forum[todayposts]</strong> <img style="width:18px;" title="{lang index_today}" src="{IMGDIR}/new5.gif" />)</em>
                                        <!--{/if}-->
                                        </a>
                                    </h2>
                                    <!--{if $forum['subforums']}--><p class="z">{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
                                    <!--{if $forum['moderators']}--><p class="z">{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
                            </div>    
                        </div>
                        <!--{eval $f++}-->
                        <!--{/loop}-->
                    <!--/Loop header-->
                      	</div>  
                    <!--Loop Content-->
                    	<!--{eval $f = 0}-->
                        <!--{loop $cat[forums] $forumid}-->
                        <!--{eval $forum=$forumlist[$forumid];}-->
                        <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 
                        'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
                        <div id="content_$cat[fid]_$forumid" class="list-item-group MB_CONTAINER {if $f == 0} cavtive {else} cunactive {/if}" style="float:none;">   
                            <!--{if $forum[description]}-->
                            <div>$forum[description]</div>
                            <!--{/if}-->
                                <div class="tl box-list-category clearfix">
                                    <!--{if $forum['permission'] == 1}-->
                                    <center><h3>{lang private_forum}</h3></center>
                                    <!--{else}-->
                                        <!--{if $forum['redirect']}-->
                                        <h1><a href="$forumurl" class="xi2">{lang url_link}</a></h1>
                                        <!--{elseif is_array($forum['lastpost'])}-->
                                            <!--{loop $listpost_wforum[$forum['fid']] $key $list_b}-->
                                                <!--{eval $n++}-->
                                                <!--{if ($n == 1)}-->
                                                <div class="content-item-group clearfix" summary="forum_$list_b[tid]">
                                                    <div class="main-new-gr clearfix" id="thread_$list_b[tid]">
                                                        <div class="box-new-content">
                                                           
                                                            <div class="tomtat-content">
                                                               <div class="box-img-content">
                                                                    <a href="forum.php?mod=viewthread&tid=$list_b[tid]" title="$list_b[subject]">
                                                                    <!--{if $list_b['picatt']}-->
                                                                        <!--{eval $keypic = rawurlencode(md5($list_b['tid'].'|100|100'))}-->
                                                                        <img src="forum.php?mod=image&aid=$list_b['picatt']&size=100x100&key=$keypic&atid=$list_b['tid']">
                                                                    <!--{elseif $list_b['picurl']}-->    
                                                                        <img src="$list_b['picurl']">
                                                                    <!--{else}-->
                                                                        <!--{if $list_b['author']}-->
                                                                            <!--{avatar($list_b[authorid],middle)}-->
                                                                        <!--{else}-->
                                                                        <img src="{IMGDIR}/frame_avatar.gif" alt="$_G[setting][anonymoustext]" title="$_G[setting][anonymoustext]" />
                                                                        <!--{/if}-->
                                                                    <!--{/if}-->
                                                                    </a>
                                                                </div>
            
            
                                                                <h2 class="">
                                                                    <a href="forum.php?mod=viewthread&tid=$list_b[tid]" class="xi2" $list_b[highlight] title="$list_b[subject]">
                                                                        $list_b[subject]
                                                                    </a>								
                                                                    
                                                                    <samp class="box-icon-new">
                                                                        <!--{if $list_b['weeknew']}-->
                                                                        <img src="{IMGDIR}/new.gif" title="$list_b[subject]" width="22" height="7" alt="New" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b[icon] >= 0}-->
                                                                        <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$list_b[icon]][url]}" alt="{$_G[cache][stamps][$list_b[icon]][text]}" align="absmiddle" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b['attachment'] == 2}-->
                                                                        <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
                                                                        <!--{elseif $list_b['attachment'] == 1}-->
                                                                        <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b['digest'] > 0 && $list_b != 'digest'}-->
                                                                        <img src="{IMGDIR}/digest_$list_b[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $list_b[digest]" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b['displayorder'] == 0}-->
                                                                        <!--{if $list_b[recommendicon] && $filter != 'recommend'}-->
                                                                        <img src="{IMGDIR}/recommend_$list_b[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $list_b[recommends]" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b[heatlevel]}-->
                                                                        <img src="{IMGDIR}/hot_$list_b[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$list_b[heatlevel] {lang heats}" />
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b['rate'] > 0}-->
                                                                        <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
                                                                        <!--{elseif $list_b['rate'] < 0}-->
                                                                        <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
                                                                        <!--{/if}-->
                                                                        <!--{/if}-->
                                                                    </samp>
                                                                </h2> 
                                                                <span class="text-indent">                                               	
                                                                    <!--{echo cutstr($list_b[message],320)}-->
                                                                </span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="box-thong-tin-khac clearfix">
                                                            <div class="thong-ke thong-ke-add clearfix">
                                                                <ul class="z ">
                                                                    <li class="width-box-author">
                                                                        <span class="name-author" title="{lang author}">
                                                                            <!--{if $list_b['author']}-->
                                                                                <a href="home.php?mod=space&uid=$list_b[authorid]" title="{if $list_b['author']}$list_b['author']{else}$_G[setting][anonymoustext]{/if}" c="1">$list_b['author']</a>
                                                                            <!--{else}-->
                                                                                $_G[setting][anonymoustext]
                                                                            <!--{/if}-->
                                                                        </span> 
                                                                    </li>      
                                                                    <li class="author-datime" title="Ngày đăng bài" {if $list_b['istoday']} {/if}>$list_b[dateline]</li>
                                                                    <!--{if intval($list_b[replies]) >= 1}-->
                                                                    <li class="lever-b red">$list_b[replies] {lang number_comment}</li>
                                                                    <!--{else}-->
                                                                    <li class="lever-b">$list_b[replies] {lang number_comment}</li>
                                                                    <!--{/if}-->
                                                                    
                                                                    <!--{if intval($list_b[views]) >= 100}-->
                                                                    <li class="lever-c red" title="Số lượt xem">$list_b[views] {lang number_view} </li>
                                                                    <!--{else}-->
                                                                    <li class="lever-c" title="Số lượt xem">$list_b[views] {lang number_view} </li>
                                                                    <!--{/if}-->
                                                                    <li class="add-conditions">
                                                                        <!--{if $list_b['readperm']}--> 
                                                                        <samp class="woo-permission">
                                                                            {lang readperm} <span class="xw1">$list_b[readperm]</span>
                                                                        </samp>
                                                                        <!--{/if}-->
                                                                        <!--{if $list_b['price'] > 0}-->
                                                                        <!--{if $list_b['special'] == '3'}-->
                                                                        <span >[{lang thread_reward} <span class="xw1">$list_b[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
                                                                        <!--{else}-->
                                                                        <samp class="woo-permission">
                                                                            {lang price} <span class="xw1">$list_b[price] </span>{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}
                                                                        </samp>
                                                                        <!--{/if}-->
                                                                        <!--{elseif $list_b['special'] == '3' && $list_b['price'] < 0}-->
                                                                         {lang reward_solved}
                                                                        <!--{/if}-->
                                                                    </li>
                                                                </ul>
                                                            </div><!--thong-ke thong-ke-add -->
                                                        </div>
                                                </div>
                                                <!--{else}-->
                                                
                                                <!--Xiem-->
                                                
                                                <div summary="forum_$list_b[tid]" class="box-list-lable clearfix {if ($n % 2 != 0)}icon_bg_li{/if}" >
                                                    <div class="box-list-tin clearfix" >
                                                        <div id="thread_$list_b[tid]">
                                                            <div class="main-new-list clearfix">
                                                                
                                                                <div class="box-new-content new-value">
                                                                    
                                                                    <div class="tomtat-content tomtat-lever">
                                                                        <div class="img-individuals value-img">                                                    
                                                                            <a href="forum.php?mod=viewthread&tid=$list_b[tid]" title="$list_b[subject]">
                                                                            <!--{if $list_b['picatt']}-->
                                                                            <!--{eval $keypic = rawurlencode(md5($list_b['tid'].'|100|100'))}-->
                                                                            <img align="left"src="forum.php?mod=image&aid=$list_b['picatt']&size=100x100&key=$keypic&atid=$list_b['tid']">
                                                                            <!--{elseif $list_b['picurl']}-->    
                                                                                <img align="left" src="$list_b['picurl']">
                                                                            <!--{else}-->
                                                                                <!--{if $list_b['author']}-->
                                                                                    <!--{avatar($list_b[authorid],middle)}-->
                                                                                <!--{else}-->
                                                                                <img align="left" src="{IMGDIR}/frame_avatar.gif" alt="$_G[setting][anonymoustext]" title="$_G[setting][anonymoustext]" />
                                                                                <!--{/if}-->
                                                                            <!--{/if}-->
                                                                            </a>
                                                                        </div>
                                                                        
                                                                        
                                                                        <h2 class="">
                                                                            <a href="forum.php?mod=viewthread&tid=$list_b[tid]" class="xi2" $list_b[highlight] title="$list_b[subject]">$list_b[subject]</a>
                                                                            
                                                                            <!--{if $list_b['weeknew']}-->
                                                                            <img src="{IMGDIR}/new.gif" title="$list_b[subject]" width="22" height="7" alt="New" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b[icon] >= 0}-->
                                                                            <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$list_b[icon]][url]}" alt="{$_G[cache][stamps][$list_b[icon]][text]}" align="absmiddle" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b['attachment'] == 2}-->
                                                                            <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
                                                                            <!--{elseif $list_b['attachment'] == 1}-->
                                                                            <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b['digest'] > 0 && $list_b != 'digest'}-->
                                                                            <img src="{IMGDIR}/digest_$list_b[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $list_b[digest]" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b['displayorder'] == 0}-->
                                                                            <!--{if $list_b[recommendicon] && $filter != 'recommend'}-->
                                                                            <img src="{IMGDIR}/recommend_$list_b[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $list_b[recommends]" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b[heatlevel]}-->
                                                                            <img src="{IMGDIR}/hot_$list_b[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$list_b[heatlevel] {lang heats}" />
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b['rate'] > 0}-->
                                                                            <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
                                                                            <!--{elseif $list_b['rate'] < 0}-->
                                                                            <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
                                                                            <!--{/if}-->
                                                                            <!--{/if}-->
                                                                        </h2>
                                                                        <span class="text-indent">
                                                                            <!--{echo cutstr($list_b[message],120)}-->
                                                                        </span>                                                        
                                                                    </div>
                                                                </div><!--box-new-content new-value-->
                                                            </div><!--main-new-list clearfix-->
                                                            
                                                            <div class="box-thong-tin-khac box-thong-tin-khac-add clearfix">
                                                                <div class="thong-ke clearfix">
                                                                    <ul class="z ">
                                                                        <li class="name-author" title="{lang author}">
                                                                            <!--{if $list_b['author']}-->
                                                                            <a href="home.php?mod=space&uid=$list_b[authorid]" title="$list_b['author']" c="1">$list_b['author']</a>
                                                                            <!--{else}-->
                                                                            $_G[setting][anonymoustext]
                                                                            <!--{/if}-->
                                                                        </li><!--name-author-->                                                        
                                                                        <li class="author-datime" {if $list_b['istoday']} {/if} title="Ngày đăng bài">$list_b[dateline]</li>
                                                                        
                                                                        <!--{if intval($list_b[replies]) >= 1}-->
                                                                        <li class="lever-b red"><span title="Số bình luận">$list_b[replies] {lang number_comment}</span></li>
                                                                        <!--{else}-->
                                                                        <li class="lever-b"><span title="Số bình luận">$list_b[replies] {lang number_comment}</span></li>
                                                                        <!--{/if}-->

                                                                        <!--{if intval($list_b[views]) >= 100}-->
                                                                        <li class="lever-c red" title="Số lượt xem">$list_b[views] {lang number_view} </li>
                                                                        <!--{else}-->
                                                                        <li class="lever-c" title="Số lượt xem">$list_b[views] {lang number_view} </li>
                                                                        <!--{/if}-->
                                                                        <li class="add-conditions">
                                                                            <!--{if $list_b['readperm']}--> 
                                                                            <samp class="woo-permission">
                                                                                {lang readperm} <span class="xw1">$list_b[readperm]</span>
                                                                            </samp>
                                                                            <!--{/if}-->
                                                                            <!--{if $list_b['price'] > 0}-->
                                                                            <!--{if $list_b['special'] == '3'}-->
                                                                            <span >[{lang thread_reward} <span class="xw1">$list_b[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
                                                                            <!--{else}-->
                                                                            <samp class="woo-permission">
                                                                                {lang price} <span class="xw1">$list_b[price] </span>{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}
                                                                            </samp>
                                                                            <!--{/if}-->
                                                                            <!--{elseif $list_b['special'] == '3' && $list_b['price'] < 0}-->
                                                                                {lang reward_solved}
                                                                            <!--{/if}-->
                                                                        </li>
                                                                    </ul>
                                                                </div><!--thong-ke-->
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div><!--box-list-lable-->
                                                <!--{/if}-->
                                                <!--{/loop}-->
                                                <!--{eval $n = 0}-->
                                                <!--{else}-->
                                                <center>
                                                <h3 class="never never-addcss">
                                                {lang never}
                                                </h3>
                                                </center>
                                            <!--{/if}-->
                                        <!--{/if}-->
                                    </div>
                                <span class="woo-view-all y" style="display:none;">
                                    <a href="$forumurl"{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>Xem tất cả >></a>
                                </span> 
                        </div>
                        <!--{ad/intercat/bm a_c/$cat[fid]}-->
                        <!--{eval $f++}-->
                        <!--{/loop}-->
                        <!--/Loop Content-->
                	</div>    
                    </div>
                	<!-- End Sub forum -->
                </div>
                <!--{/loop}-->
                
                
                <!-- Danh sanh online -->
                <!--{if empty($gid) && $_G['setting']['whosonlinestatus']  && $_G[adminid]}-->
                    <div id="online" class="bm oll">
                        <div class="bm_h">
                        <!--{if $detailstatus}-->
                            <span class="o">
                            	<a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a>
                            </span>
                            <h3>
                                <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
                                <span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
                                - <strong>$membercount</strong> {lang index_members} (<strong>$invisiblecount</strong> {lang index_invisibles}),
                                <strong>$guestcount</strong> {lang index_guests}
                                - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang index_human_online} {lang on} <strong>$onlineinfo[1]</strong>.</span>
                            </h3>
                        <!--{else}-->
                            <span class="o">
                            	<a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a>
                            </span>
                            <h3>
                                <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
                                <span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
                                - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang index_human_online} {lang on} <strong>$onlineinfo[1]</strong>.</span>
                            </h3>
                        <!--{/if}-->
                        </div>
                        
                        
                    <!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
                        <dl id="onlinelist" class="bm_c">
                            <dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
                            <!--{if $detailstatus}-->
                            <dd class="ptm pbm">
                                <ul class="cl uolist">
                                <!--{if $whosonline}-->
                                    <!--{loop $whosonline $key $online}-->
                                        <li title="{lang time}: $online[lastactivity]">
                                        <img src="{STATICURL}image/common/$online[icon]" alt="icon" align="absmiddle" />
                                        <!--{if $online['uid']}-->
                                            <a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
                                        <!--{else}-->
                                            $online[username]
                                        <!--{/if}-->
                                        </li>
                                    <!--{/loop}-->
                                <!--{else}-->
                                    <li style="width: auto">{lang online_only_guests}</li>
                                <!--{/if}-->
                                </ul>
                            </dd>
                            <!--{/if}-->
                        </dl>
                    <!--{/if}-->
                    </div>
                <!--{/if}-->
                <!-- Ket thuc danh sach Online -->
            </div>
<!--Box Left-->
        </div>
    </div>
    <!-- Layout End -->
</div>

<!--{subtemplate common/footer}-->
<script type="text/javascript">
	function showthis(idgroup, id){
		var idHeaderShow = 'h2[id=header_tab_' + idgroup + '_' + id + ']';
		var idHeaderHide = 'h2[id^=header_tab_' + idgroup + ']';
		var idContentHide = 'div[id^=content_'+ idgroup +'_]';
		var idContentShow = 'div[id=content_' + idgroup + '_' + id + ']';
		jQuery(idContentHide).hide(0, function(){
			//Khu vuc viet code cho cac tab bi an
			jQuery(idHeaderHide).addClass('unactive');
			jQuery(idHeaderHide).removeClass('active');
			jQuery(idHeaderShow).removeClass('unactive');
			jQuery(idHeaderShow).addClass('active');
			jQuery(idContentShow).show(0, function(){});
			});
	}
</script>